/* #ifdef MP-WEIXIN */
view,
text {
    box-sizing: border-box;
}

/* #endif */

/* #ifndef MP-WEIXIN */
* {
    box-sizing: border-box;
}

/* #endif */

.block {
    display: block;
}


/*flex 布局*/
.flex {
    flex: 1;
}

.flexLeftCenter {
    display: flex;
    align-items: center;
}

.flexCenter {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flexRightCenter {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.flexBetween {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flexAround {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.flexEvenly {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.flexColumn {
    display: flex;
    flex-direction: column;
}

.flexColumnLeft {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.flexColumnCenter {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flexColumnRight {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.flexColumnBetween {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.flexWrap {
    display: flex;
    flex-wrap: wrap;
}

.flexStart {
    align-items: flex-start;
}

.flexEnd {
    align-items: flex-end;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-line-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-line-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    align-content: center;
}

.text-line-3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    align-content: center;
}

.animation {
    -webkit-transition: all .3s ease-out 0s;
}

.rotate90 {
    transform: rotate(90deg);
}

.rotate180 {
    transform: rotate(180deg);
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.scroll-bottom-tips {
    padding: 30rpx;
    font-size: 24rpx;
    font-weight: 400;
    color: #587569;
}

/* 页面底部右下角背景 */
.page-bottom-bg {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.app-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.safe-area-inset-bottom {
    height: constant(safe-area-inset-bottom);
    height: env(safe-area-inset-bottom);
}

.fixed-top-view .fixed-top-content {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 10;
    top: 0;
}

/* #ifdef WEB */
.fixed-top-view .fixed-top-content {
    top: 44px;
}
/* #endif */

.fixed-top-view .fixed-top-placeholder {
    width: 100%;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.fixed-bottom-view .fixed-bottom-content {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 10;
    bottom: 0;
}


.fixed-bottom-view .fixed-bottom-placeholder {
    width: 100%;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}
